*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url(../images/bg1.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
}
.box{
    height: 340px;
    width: 340px;
    /* border: solid 1px black; */
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.box>ul{
    list-style-type: none;
}
.box>ul>li{
    height: 100px;
    width: 100px;
    /* border: solid 1px black; */
    position: absolute;
    background-image: url(../images/1.png);
    background-size: 100%;
    font-size: 24px;
    text-align: center;
    line-height: 100px;
    color: #fff;
}
.box>#start{
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url(../images/2.jpg);
    background-size: 100%;
    top: 120px;
    left: 120px;
}

/* 设计三角形 */
/* #triangle{
    width: 0;
    height: 0;
    border: 40px solid red;
    border-top-color: black;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
    border-width: 171px;
} */

.box>ul>li:nth-child(1){
    left: 0;
    top: 0;
}
.box>ul>li:nth-child(2){
    left: 120px;
    top: 0;
}
.box>ul>li:nth-child(3){
    left: 240px;
    top: 0;
}
.box>ul>li:nth-child(4){
    left: 240px;
    top: 120px;
}
.box>ul>li:nth-child(5){
    left: 240px;
    top: 240px;
}
.box>ul>li:nth-child(6){
    left: 120px;
    top: 240px;
}
.box>ul>li:nth-child(7){
    left: 0px;
    top: 240px;
}
.box>ul>li:nth-child(8){
    left: 0px;
    top: 120px;
}

#piano{
    width: 672px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 100px;
    border: 1px solid #000;
    list-style: none;
}
#piano>li{
    width: 80px;
    height: 300px;
    border: 2px solid #000;
    float: left;
    text-align: center;
    position: relative;
    background-color: #fff;
    /* 设置阴影 */
    box-shadow: 0px 10px 10px black;
    
}   


#piano>li>div{
    width: 40px;
    height: 150px;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 62px;
    z-index: 2;
}

#time{
    border: 3px solid #000;
    margin-left: auto;
    margin-right: auto;
    width: 202px;
    margin-top: 50px;
    height: 70px;
}

#time>ul{
    list-style: none;
    font-size: 50px;

}

#time>ul>li{
    float: left;
}


#qinpu{
    position: absolute; 
    left: 50%;
    width: 672px;
    height: 400px;
    margin-left: -334px;
    z-index: 2;
    display: none;
}